module.exports = {
    assetsDir: 'assets',
    publicPath: './',
    lintOnSave: false,
    devServer: {
        open: true,
        port: 8080,
        proxy: {
            '/favorite-api' : {
                target: 'http://127.0.0.1:9000/',
                ws: true,
                changeOrigin: true,
                pathRewrite: {
                    '^/favorite-api': ''
                }
            },
            '/favorite-local': {
                target: 'http://127.0.0.1:9000/',
                ws: true,
                changeOrigin: true,
                pathRewrite: {
                    '^/favorite-local': ''
                }
            },
            '/auth-local': {
                target: 'http://127.0.0.1:8000/',
                ws: true,
                changeOrigin: true,
                pathRewrite: {
                    '^/auth-local': ''
                }
            }
        }
    }
}